package models

import (
	"gitee.com/dromara/carbon/v2"
)

// DoctorSellPoint 医生服务评分
type DoctorSellPoint struct {
	ID        int64         `json:"id" gorm:"id"`                 // ID
	DoctorId  int64         `json:"doctor_id" gorm:"doctor_id"`   // 医生ID
	SellCount int64         `json:"sell_count" gorm:"sell_count"` // 服务订单数
	Point     int64         `json:"point" gorm:"point"`           // 服务总评分
	CreatedAt carbon.Carbon `json:"created_at" gorm:"created_at"` // 创建时间
	UpdatedAt carbon.Carbon `json:"updated_at" gorm:"updated_at"` // 修改时间
}

// TableName 表名称
func (*DoctorSellPoint) TableName() string {
	return "doctor_sell_point"
}
